package t05;


public class T05Test {
    public static void main(String[] args) {
        TransactionProcessor transactionProcessor = new TransactionProcessor("E:\\Myself\\Java\\task\\src\\t05\\dataFile.txt");
        System.out.println("Display Accounts: ");
        transactionProcessor.displayAccount();

        System.out.println("Add Accounts! ");
        transactionProcessor.addAccount("4", "hua", "Cui", 666.00);

        System.out.println("Display Accounts: ");
        transactionProcessor.displayAccount();

        System.out.println("Delete Accounts! ");
        transactionProcessor.deleteAccount("4");

        System.out.println("Display Accounts: ");
        transactionProcessor.displayAccount();

        System.out.println("Print Accounts: ");
        transactionProcessor.printAccountToPrintFile("E:\\Myself\\Java\\task\\src\\t05\\printFile.txt");
        transactionProcessor.readerPintFileToConsole();
    }
}
